package com.zyb.lmbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/** 分类任务实体：用于记录批处理进度与状态。 */
@Data
@Accessors(chain = true)
@TableName("classify_task")
public class ClassifyTask {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String taskName;
    private String status;
    private Integer version;
    private Integer total;
    private Integer processed;
    private Integer success;
    private Integer failed;
    private LocalDateTime startedAt;
    private LocalDateTime finishedAt;
    private String msg;
    private LocalDateTime updatedAt;
}
